@ECHO OFF

SET ENV=%1

REM set up the farm
REM need to deploy the solutions first so that our cmdlets are available
call ps.cmd %ENV% Farm DeploySolution
call ps.cmd %ENV% Farm RegisterAccounts
call ps.cmd %ENV% Farm PrepareServers
call ps.cmd %ENV% Farm Configure

REM create the various web applications
call ps.cmd %ENV% Support Provision
call ps.cmd %ENV% MySite Provision
call ps.cmd %ENV% Search Provision
call ps.cmd %ENV% Collaboration Provision
call ps.cmd %ENV% Publishing Provision
call ps.cmd %ENV% RecordCenter Provision

call ps.cmd %ENV% Services Provision

